﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="MyDMS_ExtJS.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:Panel runat="server" ID="MainPanel" AutoWidth="True" AutoHeight="True" Layout="Column"
        ShowBorder="False" ShowHeader="False">
        <Items>
            <ext:Panel ID="Panel2" Title="负责的文档" runat="server" Layout="Fit" AutoHeight="True" ColumnWidth="70%"
                EnableBackgroundColor="true" BodyPadding="5px" ShowBorder="True" ShowHeader="True">
                <Items>
                    <ext:Grid ID="gvUploadedDocs" Title="表格" ShowHeader="False" PageSize="20" AllowSorting="true"
                        AutoWidth="True" AutoHeight="true" runat="server" EnableCheckBoxSelect="True"
                        DataKeyNames="Id,Name" EnableRowNumber="True" OnSort="gvUploadedDocs_Sort" AllowPaging="True"
                        OnPageIndexChange="gvUploadedDocs_PageIndexChange">
                        <Toolbars>
                            <ext:Toolbar ID="Toolbar1" Width="150" runat="server">
                                <Items>
                                    <ext:Button ID="Button4" Text="按钮一" runat="server">
                                    </ext:Button>
                                    <ext:Button ID="Button5" Text="按钮二" runat="server">
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </Toolbars>
                        <Columns>
                            <ext:TemplateField Width="30px" SortField="Document_Code" Hidden="True">
                                <ItemTemplate>
                                    <asp:Label ID="Label3" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Document_Code")%>'></asp:Label>
                                </ItemTemplate>
                            </ext:TemplateField>
                            <ext:TemplateField Width="260px" SortField="Document_Name" HeaderText="名称/备注">
                                <ItemTemplate>
                                    <strong style="font-weight: bold">
                                        <%#DataBinder.Eval(Container.DataItem, "Document_Name")%></strong>
                                    <br />
                                    <span>
                                        <%#DataBinder.Eval(Container.DataItem, "Document_Desc")%></span>
                                </ItemTemplate>
                            </ext:TemplateField>
                            <ext:TemplateField Width="160px" SortField="TaskName" HeaderText="小项/分项">
                                <ItemTemplate>
                                    <strong style="font-weight: bold">
                                        <%#DataBinder.Eval(Container.DataItem, "TaskName")%></strong>
                                    <br />
                                    <span>
                                        <%#DataBinder.Eval(Container.DataItem, "FolderName")%></span>
                                </ItemTemplate>
                            </ext:TemplateField>
                            <ext:BoundField Width="100px" SortField="SecretLevelName" DataField="SecretLevelName"
                                HeaderText="密级" />
                            <ext:BoundField Width="100px" SortField="ShelfLifeName" DataField="ShelfLifeName"
                                HeaderText="保存期限" />
                            <ext:BoundField Width="160px" SortField="Updation_Date" DataField="Updation_Date"
                                HeaderText="更新时间" />
                        </Columns>
                    </ext:Grid>
                </Items>
            </ext:Panel>
            <ext:Panel ID="RightPanel" runat="server" Height="800" ColumnWidth="30%" ShowBorder="True"
                Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Left" BoxConfigPadding="5"
                ShowHeader="False">
                <Items>
                    <ext:Panel ID="TimePanel" runat="server">
                        <Items>
                            <ext:Calendar ID="Calendar1" runat="server">
                            </ext:Calendar>
                        </Items>
                    </ext:Panel>
                    <ext:Panel ID="Panel1" runat="server">
                        <Items>
                            <ext:Calendar ID="Calendar2" runat="server">
                            </ext:Calendar>
                        </Items>
                    </ext:Panel>
                    <ext:Panel ID="Panel3" runat="server">
                        <Items>
                            <ext:Calendar ID="Calendar3" runat="server">
                            </ext:Calendar>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Panel>
    </form>
</body>
</html>
